package com.igeekhome.service;

import com.github.pagehelper.PageInfo;
import com.igeekhome.pojo.DAdvancedCustomerAddressList;

import java.util.List;

/**
 * @author 立以宁
 */
public interface ICustomerAddressListService {

    /**
     * 查询高级客户的地址列表，一般不多，故不需分页
     * @param customer_id
     * @return
     */
    List<DAdvancedCustomerAddressList> selectAll(Integer customer_id);

    /**
     * 对某一地址进行更新
     * @param addressList
     */
    void updateAddressList(DAdvancedCustomerAddressList addressList);


    /**
     * 增添地址
     * @param addressList
     */
    void addAddressList(DAdvancedCustomerAddressList addressList);

    DAdvancedCustomerAddressList selectCustomerAddress(Integer id);

}
